package com.ruoyi.service.impl;

import com.ruoyi.domain.Fundmanagement;
import com.ruoyi.mapper.FundmanagementMapper;
import com.ruoyi.service.IFundmanagementService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * FundmanagementService业务层处理
 * 
 * @author wjy
 * @date 2025-01-11
 */
@Service
public class FundmanagementServiceImpl implements IFundmanagementService 
{
    @Autowired
    private FundmanagementMapper fundmanagementMapper;

    /**
     * 查询Fundmanagement
     * 
     * @param fundId Fundmanagement主键
     * @return Fundmanagement
     */
    @Override
    public Fundmanagement selectFundmanagementByFundId(Long fundId)
    {
        return fundmanagementMapper.selectFundmanagementByFundId(fundId);
    }

    /**
     * 查询Fundmanagement列表
     * 
     * @param fundmanagement Fundmanagement
     * @return Fundmanagement
     */
    @Override
    public List<Fundmanagement> selectFundmanagementList(Fundmanagement fundmanagement)
    {
        return fundmanagementMapper.selectFundmanagementList(fundmanagement);
    }

    /**
     * 新增Fundmanagement
     * 
     * @param fundmanagement Fundmanagement
     * @return 结果
     */
    @Override
    public int insertFundmanagement(Fundmanagement fundmanagement)
    {
        return fundmanagementMapper.insertFundmanagement(fundmanagement);
    }

    /**
     * 修改Fundmanagement
     * 
     * @param fundmanagement Fundmanagement
     * @return 结果
     */
    @Override
    public int updateFundmanagement(Fundmanagement fundmanagement)
    {
        return fundmanagementMapper.updateFundmanagement(fundmanagement);
    }

    /**
     * 批量删除Fundmanagement
     * 
     * @param fundIds 需要删除的Fundmanagement主键
     * @return 结果
     */
    @Override
    public int deleteFundmanagementByFundIds(Long[] fundIds)
    {
        return fundmanagementMapper.deleteFundmanagementByFundIds(fundIds);
    }

    /**
     * 删除Fundmanagement信息
     * 
     * @param fundId Fundmanagement主键
     * @return 结果
     */
    @Override
    public int deleteFundmanagementByFundId(Long fundId)
    {
        return fundmanagementMapper.deleteFundmanagementByFundId(fundId);
    }
}
